* src/buffer.c (buffer-list-update-hook): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Fri, 2 Mar 2012 02:57:19 +0000 (21:57 -0500)
committerGlenn Morris <rgm@gnu.org>
Fri, 2 Mar 2012 02:57:19 +0000 (21:57 -0500)
src/ChangeLog
src/buffer.c

index 5524c2dca15eb619d5ec6fce8dacf9e58e01213e..bb192a951bd5165444b08ecb823d12dffdf9dceb 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-02  Glenn Morris  <rgm@gnu.org>
+
+       * buffer.c (buffer-list-update-hook): Doc fix.
+
 2012-02-29  Eli Zaretskii  <eliz@gnu.org>
 
        * xdisp.c (get_overlay_strings_1): Under bidi redisplay, call
index 71a5e199c6f930aa3f2e360e1cf0673c1bd94cd2..1577254d92aedb097ddc4dcfbdcb926c8e6e55a2 100644 (file)
@@ -1,6 +1,6 @@
 /* Buffer manipulation primitives for GNU Emacs.
 
-Copyright (C) 1985-1989, 1993-1995, 1997-2012  Free Software Foundation, Inc.
+Copyright (C) 1985-1989, 1993-1995, 1997-2012 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -1717,7 +1717,7 @@ record_buffer (Lisp_Object buffer)
 /* Move BUFFER to the end of the buffer (a)lists.  Do nothing if the
    buffer is killed.  For the selected frame's buffer list this moves
    BUFFER to its end even if it was never shown in that frame.  If
-   this happens we have a feature, hence `unrecord-buffer' should be
+   this happens we have a feature, hence `bury-buffer-internal' should be
    called only when BUFFER was shown in the selected frame.  */
 
 DEFUN ("bury-buffer-internal", Fbury_buffer_internal, Sbury_buffer_internal,
@@ -5996,7 +5996,7 @@ The function `kill-all-local-variables' runs this before doing anything else.  *
               doc: /* Hook run when the buffer list changes.
 Functions running this hook are `get-buffer-create',
 `make-indirect-buffer', `rename-buffer', `kill-buffer',
-`record-buffer' and `unrecord-buffer'.  */);
+and `bury-buffer-internal'.  */);
   Vbuffer_list_update_hook = Qnil;
   DEFSYM (Qbuffer_list_update_hook, "buffer-list-update-hook");